<template>
  <div class="main-item fd-column">
    <div class="title d-flex ai-center">
      <div class="icon"></div>
      <div class="name fs-xl">{{title}}</div>
    </div>
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: "",
    },
  },
};
</script>

<style lang="scss" scoped>
.main-item {
  background-color: #fff;
  border-radius: 5px;
  padding: 18px;
  margin-bottom: 14px;
  .title {
    .icon {
      width: 6px;
      height: 16px;
      background-color: #409eff;
      margin-right: 6px;
      border-radius: 2px;
    }
  }
}
</style>